/*
 * @file gkt_window_user.h
 */

#ifndef GKT_WINDOW_USER_H
#define GKT_WINDOW_USER_H

#include "gkt_types.h"

#ifdef __cplusplus
extern "C" {
#endif

/* USER EVENT minor_type */
enum {
	GKT_WINDOW_USER_VERIFY = 0,
	GKT_WINDOW_USER_VERIFY_UPDATE,
	GKT_WINDOW_USER_ENROLL,
	GKT_WINDOW_USER_MAX
};

/* USER EVENT DATA INDEX */
#define GKT_WINDOW_USER_EVTDATA_RESULT	0
#define GKT_WINDOW_USER_EVTDATA_DATA	1

int gkt_window_user_enroll(uint32_t user_index, 
			uint32_t type, const void *data, uint32_t len);
int gkt_window_user_verify(uint32_t type, 
			uint32_t authority, const void *data, 
			uint32_t len, uint32_t verified_user_id);
void gkt_window_user_verify_update(uint32_t type);

#ifdef __cplusplus
}
#endif

#endif	/* GKT_WINDOW_USER_H */


